html, body, .main {
  height: 100%;
}

.main {
  display: flex;
  flex-direction: column;
}

.main .topbar {
  height: 50px;
  background-color: white;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

.main .box {
  flex: 1;
  padding-top: 50px;
}

.newsbg {
  background-image: url("http://localhost:5000/bg.jpg");
  width: 100%;
  height: 400px;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  z-index: 100;
}

.newsbg .searchcontainer {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
}

.newsbg .searchcontainer .list-group {
  position: absolute;
  width: 100%;
  opacity: 0.9;
}

.cardContainer {
  padding: 10px;
  display: flex;
  justify-content: space-around;
}

.cardContainer .card {
  width: 300px;
}

.cardContainer .card .imgcover {
  width: 100%;
  height: 150px;
  background-size: cover;
  background-position: center;
}

.cardContainer .card:hover {
  box-shadow: 0 0 10px black;
}

.newsTabs {
  padding: 30px;
}

.newsTabs .tab-link {
  color: black;
}

.newsTabs .listitem {
  padding: 10px;
  overflow: hidden;
}

.newsTabs .listitem img {
  float: left;
  width: 120px;
  height: 60px;
}

.newsTabs .listitem:hover {
  box-shadow: 0 0 10px black;
}

.navbar-toggler {
  background-color: rgba(0, 0, 0, 0.125);
  border: none;
  transition: none;
}

.navbar-brand {
  color: black;
}

.nav-link {
  color: black;
}
